package kr.hyosang.dkbs.kiosk.server;

import com.google.appengine.labs.repackaged.org.json.JSONException;
import com.google.appengine.labs.repackaged.org.json.JSONObject;

public class Common {
	public static String getJsonResponse(JSONObject json) throws JSONException {
		JSONObject res = new JSONObject();
		JSONObject header = new JSONObject();
		header.put("resultCode", "0");
		header.put("resultMessage", "OK");
		res.put("header", header);
		
		res.put("body", json);
		
		return res.toString();
		
		
	}

}
